.tb-checkbox {
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
  outline: 0;
  line-height: 1;
  position: relative
}
.tb-checkbox-disabled {
  cursor: not-allowed
}
.tb-checkbox:hover .tb-checkbox-inner {
  border-color: #bcbcbc
}
.tb-checkbox-inner {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
  top: 0;
  left: 0;
  border: 1px solid #d7dde4;
  border-radius: 2px;
  background-color: #fff;
  transition: border-color .2s ease-in-out,background-color .2s ease-in-out;
}

.tb-checkbox-inner:after {
  content: "";
  display: table;
  width: 4px;
  height: 8px;
  position: absolute;
  top: 1px;
  left: 4px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) scale(0);
  transition: all .2s ease-in-out
}
.tb-checkbox-input {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  cursor: pointer;
  opacity: 0;
}
.tb-checkbox-input[disabled] {
  cursor: not-allowed
}
.tb-checkbox-checked:hover .tb-checkbox-inner {
  border-color: #39f
}
.tb-checkbox-checked .tb-checkbox-inner {
  border-color: #39f;
  background-color: #39f
}
.tb-checkbox-checked .tb-checkbox-inner:after {
  content: "";
  display: table;
  width: 4px;
  height: 8px;
  position: absolute;
  top: 1px;
  left: 4px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) scale(1);
  transition: all .2s ease-in-out
}
.tb-checkbox-disabled.tb-checkbox-checked:hover .tb-checkbox-inner {
  border-color: #d7dde4
}
.tb-checkbox-disabled.tb-checkbox-checked .tb-checkbox-inner {
  background-color: #f3f3f3;
  border-color: #d7dde4
}
.tb-checkbox-disabled.tb-checkbox-checked .tb-checkbox-inner:after {
  animation-name: none;
  border-color: #ccc
}
.tb-checkbox-disabled:hover .tb-checkbox-inner {
  border-color: #d7dde4
}
.tb-checkbox-disabled .tb-checkbox-inner {
  border-color: #d7dde4;
  background-color: #f3f3f3
}
.tb-checkbox-disabled .tb-checkbox-inner:after {
  animation-name: none;
  border-color: #f3f3f3
}
.tb-checkbox-disabled .tb-checkbox-inner-input {
  cursor: default
}
.tb-checkbox-disabled+span {
  color: #ccc;
  cursor: not-allowed
}
.tb-checkbox-indeterminate .tb-checkbox-inner:after {
  content: "";
  width: 8px;
  height: 1px;
  transform: scale(1);
  position: absolute;
  left: 2px;
  top: 5px
}
.tb-checkbox-indeterminate:hover .tb-checkbox-inner {
  border-color: #39f
}
.tb-checkbox-indeterminate .tb-checkbox-inner {
  background-color: #39f;
  border-color: #39f
}
.tb-checkbox-wrapper {
  cursor: pointer;
  font-size: 12px;
  display: inline-block;
  margin-right: 8px;
}
.tb-checkbox-wrapper-disabled {
  cursor: not-allowed
}
.tb-checkbox+span,.tb-checkbox-wrapper+span {
  margin-right: 4px
}
.tb-checkbox-group {
  font-size: 14px
}
.tb-checkbox-group-item,.tb-switch {
  display: inline-block
}